package com.xyh.flowershop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyh.flowershop.domain.Swipers;
import com.xyh.flowershop.vo.req.swiper.SwiperEditReqVo;
import com.xyh.flowershop.vo.req.swiper.SwiperPageReqVo;
import com.xyh.flowershop.vo.resp.index.SwiperRespVo;
import com.xyh.flowershop.vo.resp.swiper.SwiperPageRespVo;

import java.util.List;

/**
 * @author 小约翰可汗
 * @className SwipersService
 * @createTime 2024/3/3120:43
 */
public interface SwipersService extends IService<Swipers> {
    List<SwiperRespVo> getSwiperList();

    Boolean addSwiper(SwiperEditReqVo vo);

    Boolean editSwiper(SwiperEditReqVo vo);

    Boolean deleteSwiper(List<Long> ids);

    IPage<SwiperPageRespVo> getPageSwiper(SwiperPageReqVo vo);

    SwiperPageRespVo getSwiper(Long id);

    Boolean changeStatus(Long id, Integer status);
}
